<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // 内置对象
        console.log(Math.PI);
        console.log(Math.ceil(3.4)); // 4
        console.log(Math.floor(1.1)); // 向下取整
        console.log(Math.round(1.5)); // 四舍五入
        console.log(Math.max(1, 2, 3, 4, 5));
    </script>
</body>

</html>